package com.ossjk.qlh.minapp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ossjk.core.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * 订单套餐项
 * @author liuxi
 * @since 2020-08-14
 */
@ApiModel(value = "订单套餐项")
public class Orderitm extends BaseEntity<Orderitm> {

	private static final long serialVersionUID = 1L;


	/**
	 * 订单id
	 */
	@ApiModelProperty(value = "订单id")
	@TableField("oid")
	private String oid;
	/**
	 * 套餐id
	 */
	@ApiModelProperty(value = "套餐id")
	@TableField("smid")
	private String smid;
	/**
	 * 主菜
	 */
	@ApiModelProperty(value = "主菜")
	@TableField("mdh")
	private String mdh;
	/**
	 * 副菜
	 */
	@ApiModelProperty(value = "副菜")
	@TableField("fdh")
	private String fdh;
	/**
	 * 主食
	 */
	@ApiModelProperty(value = "主食")
	@TableField("mfd")
	private String mfd;
	/**
	 * 青菜
	 */
	@ApiModelProperty(value = "青菜")
	@TableField("vgtb")
	private String vgtb;

	/**
	 * 主菜+副菜+青菜+主食 表达式字符串  ："白切狗，红烧茄子，油麦菜，丝苗米饭"
	 */
	@ApiModelProperty(value = "套餐表达式")
	@TableField("fnames")
	private String fnames;

	/**
	 * 其他小食  其他表达式[{nm:'薯条'，ct:2},]
	 */
	@ApiModelProperty(value = "其他小食  其他表达式[{nm:'薯条'，ct:2},]")
	@TableField("otrs")
	private String otrs;
	/**
	 * 金额
	 */
	@ApiModelProperty(value = "金额")
	@TableField("cost")
	private BigDecimal cost;

	public String  getId() {
		return id;
	}
	public void  setId(String id) {
		this.id = id;
	}
	public String  getOid() {
		return oid;
	}
	public void  setOid(String oid) {
		this.oid = oid;
	}
	public String  getSmid() {
		return smid;
	}
	public void  setSmid(String smid) {
		this.smid = smid;
	}
	public String  getMdh() {
		return mdh;
	}
	public void  setMdh(String mdh) {
		this.mdh = mdh;
	}
	public String  getFdh() {
		return fdh;
	}
	public void  setFdh(String fdh) {
		this.fdh = fdh;
	}
	public String  getMfd() {
		return mfd;
	}
	public void  setMfd(String mfd) {
		this.mfd = mfd;
	}
	public String  getVgtb() {
		return vgtb;
	}
	public void  setVgtb(String vgtb) {
		this.vgtb = vgtb;
	}
	public String  getOtrs() {
		return otrs;
	}
	public void  setOtrs(String otrs) {
		this.otrs = otrs;
	}
	public BigDecimal  getCost() {
		return cost;
	}
	public void  setCost(BigDecimal cost) {
		this.cost = cost;
	}

	public String getFnames() {
		return fnames;
	}

	public void setFnames(String fnames) {
		this.fnames = fnames;
	}

	@Override
	public String toString() {
		return "Orderitm{" +
				"oid='" + oid + '\'' +
				", smid='" + smid + '\'' +
				", mdh=" + mdh +
				", fdh='" + fdh + '\'' +
				", mfd='" + mfd + '\'' +
				", vgtb='" + vgtb + '\'' +
				", fnames='" + fnames + '\'' +
				", otrs='" + otrs + '\'' +
				", cost=" + cost +
				'}';
	}
}
